<div ng-controller="productDetailController">
    <section class=" m-container m-proDetail" ng-show="path1 == 'productDetail' && !path2">
        <div class="proDetail" ng-show="productDetail" scroll-down2>
            <div class="proItemN3">
                <div class="dfc jssb proItemN3Wrap">
                    <div class="p1 dfr jssb aic">
                        <div class="logoPro dfr aic"><img ng-src={{productDetail.avatar}} ui-sref="orgDetail({id:productDetail.supplierId})"></div>
                        <button class="proBtn" ui-sref="shopcart">购物车</button>
                    </div>
                    <p class="over-hide f16 cff ls1" style="line-height: 22px">{{productDetail.name}}</p>
                    <p class="f40 cff number ls3"><span>￥</span>{{productDetail.price?(productDetail.price ):(productDetail.originalPrice?productDetail.originalPrice:0)}}</p>
                    <p class="f16 c929 text-line " ng-show="productDetail.price && productDetail.originalPrice>0"><span class="f12">￥</span>{{productDetail.originalPrice }}</p>
                    <div class="dfr jssb aic p5">
                        <li class="dfc jsc aic">
                            <span class="top">{{productDetail.salesVolume?(productDetail.salesVolume):0}}</span>
                            <span class="bottom">销量</sapn>
                        </li>
                        <li class="dfc jsc aic">
                            <span class="top">{{productDetail.commentRate?(productDetail.commentRate):0}}</span>
                            <span class="bottom">评价</sapn>
                         </li>
                         <!-- sellerDepartmentId为false的情况下显示管理费 -->
                         <li class="dfc jsc aic" ng-show="(identity==1 && !showBrokerage)">
                                        <span class="top"><span class="f12">￥</span>{{productDetail.brokerage?productDetail.brokerage:0}}</span>
                            <span class="bottom">管理费</sapn>
                        </li>
                    </div>
                 </div>
            </div>
            <!-- <div style="height: 200px;width: 100%"></div> -->
            <nav-tab2></nav-tab2>
            <!-- <div style="width: 100%;height: 700px"></div> -->
             <div class="swiper-container" id="proDetailSwiper" ng-style="{{miniheight}}" >
                                    <div class="swiper-wrapper">
                                        <div class=" swiper-slide ">
                                            <!-- 基本信息 -->
                                            <div class="htmlContent"  ng-bind-html="productDetail.jbxx | trustHtml"></div>
                                        </div>
                                        <div class=" swiper-slide  ">
                                            <!-- 使用人群 -->
                                            <div class="htmlContent"  ng-bind-html="productDetail.syrq | trustHtml"></div>
                                        </div>
                                        <div class=" swiper-slide ">
                                            <!-- 服务流程 -->
                                            <div class="htmlContent"  ng-bind-html="productDetail.fwlc | trustHtml"></div>
                                        </div>
                                        <div class=" swiper-slide ">
                                            <!-- 免责保密 -->
                                            <div class="htmlContent"  ng-bind-html="productDetail.mztk | trustHtml"></div>
                                        </div>
                                        <div class=" swiper-slide "  scroll-down2>
                                            <!-- 报告模板 -->
                                            <div class="pdfView dfr jsfe aife" ng-style="pdfAvatar" ng-show="productDetail.pdfUrl">
                                                <button ui-sref="productDetail.pdfDetail({pdfUrl:productDetail.pdfUrl})">预览</button>
                                            </div>
                                                    
                                        </div>
                                        <div class=" swiper-slide " container-scroll>
                                            <!-- 评价 -->
                                            <!-- <div ng-include="'components/comment/commentItem.html'"></div> -->
                                            <ul update-page="$parent._updated" update-temple="{{temple}}"></ul>
                                             <page-loading></page-loading>
                                        </div>
                                    </div>
            </div>
        </div>  
                <div class="dfr aic proDetailAct  " ng-show="productDetail">
                        <div class="service" ng-show="identity == 1"  ng-click="chat()" >
                            客服
                        </div>
                        <div class="cart {{identity==0?'width2':''}}" ng-click="addShopcart()" pointer-disable>加入购物车</div>
                        <div class="order  {{identity==0?'width2':''}}" ng-click="showMoreActs()"  pointer-disable>下单</div>
                </div>
                <div class="{{(modalTag=='actsModals')?modalStatus?modalStatus:'modal-hide':'modal-hide' }}" ng-include="'components/product/productDetail/actsModals.html'"></div>
                <!-- 正在加载中 -->
                <div ng-show="isProFetching" class="nodata">
                    <i class="icon-spinner icon-spin icon-large"></i>
                </div>
            <!-- 产品已下架 -->
            <div ng-show="!isProFetching && !productDetail" class="nodata">
                抱歉，该产品已下架
            </div>
    </section>
    <div ng-include="'components/pdfDetail/pdfDetail.html'" ng-show="path1 == 'productDetail' && path2 =='pdfDetail'"></div>
</div>